<include file="Public:Top" />
<link href="../Public/css/VIPIndex.css" rel="stylesheet" type="text/css" />
<!-- VIP会员管理页面 -->
<table width="982" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="181" valign="top">
	<!--网站左侧导航-->
	<div id="VipIndexLeft">
	<include file="Public:VipIndexLeft" />
	</div>	</td>
    <td width="801">
	<!--网站右侧主体-->
	<div id="VipIndexRight">
	  <form id="form1" name="form1" method="post" action="{:url('UserDels','Sms_main')}">
	    <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td id="VipIndexLeftTitle">短信中心 <A href="{:url('UserEdit','Sms_main')}">[发送短信]</A> </td>
          </tr>
          <tr>
            <td><table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td width="5%" height="20" align="left" bgcolor="#f3f3f3" id="VipRegeditRightListTitle">编号</td>
                  <td width="15%" height="20" align="left" bgcolor="#f3f3f3" id="VipRegeditRightListTitle">发送人</td>
                  <td width="27%" height="20" align="left" bgcolor="#f3f3f3" id="VipRegeditRightListTitle">标题</td>
                  <td width="20%" height="20" align="left" bgcolor="#f3f3f3" id="VipRegeditRightListTitle">状态</td>
                  <td width="20%" height="20" align="left" bgcolor="#f3f3f3" id="VipRegeditRightListTitle">发送时间</td>
                  <td width="13%" height="20" align="left" bgcolor="#f3f3f3" id="VipRegeditRightListTitle">其他操作</td>
                </tr>
				<iterate name="SMS" id="vo">
                <tr>
                  <td width="5%" align="left" id="VipRegeditRightListTitle"><input name="main_id[]" type="checkbox" value="{$vo.main_id}" /></td>
                  <td width="15%" align="left" id="VipRegeditRightListTitle">{$vo['User'].username}</td>
                  <td width="27%" align="left" id="VipRegeditRightListTitle">{$vo.title|mb_substr=0,30}</td>
                  <td width="20%" align="left" id="VipRegeditRightListTitle">
				  <?php if ($vo['sms_state'] == 'Y') { ?>
				  已读
				  <?php }elseif ($vo['sms_state'] == 'N'){ ?>
				  <span class="STYLE2">未读</span>
				  <?php }else{ ?><span class="STYLE2">有新回复</span><?php } ?>				  </td>
                  <td width="20%" align="left" id="VipRegeditRightListTitle">{$vo.created|date="Y-m-d",###}</td>
                  <td width="13%" align="left" id="VipRegeditRightListTitle">
				  <a href="{:url('UserShow','Sms_main','',APP_NAME,array('main_id'=>$vo['main_id']))}" class="VipIndexRightLink">查看并回复</a>&nbsp;
				  <a href="{:url('UserDel','Sms_main','',APP_NAME,array('main_id'=>$vo['main_id']))}" class="VipIndexRightLink">删除</a>				  </td>
                </tr>
				</iterate>
                <tr>
                  <td colspan="6" align="right" id="VipRegeditRight">{$page}</td>
                  </tr>
                <tr>
                  <td colspan="6" align="center" id="VipRegeditRight"><input name="Submit" type="submit" id="VipRegeditRightSubmit" value="确 认 提 交" /></td>
                  </tr>
            </table></td>
          </tr>
        </table>
            </form>
	  </div>	</td>
  </tr>
</table>

<!--底部-->
<include file="Public:Bottom" />
</body>
</html>
